package org.example.server.app.goods.request;

import cn.hutool.core.lang.Assert;
import cn.hutool.core.util.ObjectUtil;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.example.frw.verify.Verifiable;

@Getter
@Setter
@ToString
public class HomeCategoryListRequest implements Verifiable {
  private Long id;

  @Override
  public void verify(){
    Assert.isTrue(ObjectUtil.isNotNull(id),"missing HomeCategoryListRequest#id");
  }
}
